package com.beverages.commodities.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

@Data
@TableName("milktea")
public class Commodities {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    private String milkteaName;

    private BigDecimal price;

    private String description;

    private Integer imageId;

    private String ingredients;

    //类别，1代表汽泡水，2代表奶茶，3代表果茶，4代表圣代
    private Integer type;

    private Boolean whetherToList;
}
